package com.smbms.dao;

import com.smbms.pojo.Bill;
import com.github.pagehelper.Page;
import com.smbms.util.BillPage;
import org.apache.ibatis.annotations.Param;

public interface BillMapper {

    int addBill(Bill bill);

    Bill checkByBillCode(String billCode);

    int delBill(Integer id);

    Bill findById(Integer id);

    int checkByBillCodeUpd(@Param("billCode") String billCode, @Param("self") String self);

    int updBill(Bill bill);

    Page<Bill> findPage(BillPage billPage);
}
